package com.xinqi.modules.stats.score.convert;

import com.xinqi.common.mapstruct.CommonConvertConfig;
import com.xinqi.modules.stats.score.domain.CourseTotalScoreTypeEntity;
import com.xinqi.modules.stats.score.dto.req.CourseTotalScoreTypeCreateDTO;
import com.xinqi.modules.stats.score.dto.rsp.CourseTotalScoreResultDTO;
import com.xinqi.modules.stats.score.dto.rsp.CourseTotalScoreTypeResultDTO;
import org.mapstruct.Mapper;

/**
 * 课程作业配置表转换
 *
 * @author: system
 * @date: 2023/03/08
 */
@Mapper(config = CommonConvertConfig.class)
public abstract class CourseTotalScoreTypeConvert {

    public abstract CourseTotalScoreResultDTO converts(CourseTotalScoreTypeEntity s);

    public abstract CourseTotalScoreTypeResultDTO convert(CourseTotalScoreTypeEntity s);

    public abstract CourseTotalScoreTypeEntity create(CourseTotalScoreTypeCreateDTO s);

    public abstract CourseTotalScoreTypeEntity create(CourseTotalScoreTypeResultDTO s);

}
